﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace MarginTrading.Entity
{
    public class MarginDetails
    {
        #region public methods
        /// <summary>
        /// default constructor of MarginDetails. 
        /// </summary>
        public MarginDetails()
        {
            this.ClientCode = string.Empty;
            this.MarginLimit = 0;
            this.UtilisedAmoutnt = 0;
        }

        #endregion

        #region property
        
        public string ClientCode { get; set; }
        public double MarginLimit { get; set; }
        public double UtilisedAmoutnt { get; set;}

        #endregion
    }

    public class MarginDetailsCollection : Collection<MarginDetails>
    {
        public MarginDetailsCollection()
        {
        }
    }
}
